home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr13 / nfbtr731.zip / MAKEFILE < prev    next >
Text File  |  1995-01-24  |  1KB  |  47 lines

  1. #$Id: Makefile,v 1.1 1993/05/18 06:46:19 buhrow Exp buhrow $
  2. #NAME: Brian Buhrow
  3. #DATE: March 24, 1993
  4. #
  5. #PURPOSE: The purpose of this file is to make nfbtrans, the braille
  6. #translation software written by the National Federation of the Blind
  7. #compile under the Unix operating system.
  8. #The program was originally written in pascal and then converted to C by
  9. #Andy Formenti, and then converted to run
  10. #under the Unix operating system by Brian Buhrow
  11. #
  12. #The source and object files are as follows:
  13.  
  14. SRCFILES=nfbtrans.c nfbpatch.c
  15. OBJFILES=nfbtrans.o nfbpatch.o
  16. LIBS= -ltermcap
  17.  
  18. #Compiler and linking flags are as follows:
  19. CFLAGS=-O
  20. CC=gcc
  21. LDFLAGS=-Bdynamic
  22.  
  23. default:
  24.     @echo "type one of the following"
  25.     @echo
  26.     @echo "sunos"
  27.     @echo "sunos-insight"
  28.     @echo "ultrix"
  29.  
  30. all: nfbtrans
  31.  
  32. #Lint can wait a while
  33.  
  34. nfbtrans: $(OBJFILES)
  35.     $(CC) $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
  36.  
  37. ultrix:
  38.     $(MAKE) all CFLAGS="-O -Dultrix"
  39.  
  40. sunos:
  41.     $(MAKE) all CFLAGS="-O -Dsunos"
  42.  
  43. insight:
  44.     insight -fno-builtin -fwritable-strings \
  45.     $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
  46.  
  47.